import React, { useState } from 'react';
import ReactDOM from 'react-dom/client';

import './index.css';

const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);


function App(){
  const [count,setCount] = useState(0);

  return <>
  <button onClick={()=>setCount(count+5)}>{count}</button>
  </>
}



root.render(
  <App />
);

